/** 
 * <b>function:</b> 
 * @project   base
 * @package  com.xcj.test  
 * @fileName  Generatecjj.java 
 * @createDate  2015-4-25 上午09:56:46 
 * @author su_jian 
 * @email sujiansoft@163.com 
 */ 
package com.xcj.test;

import java.util.ArrayList;
import java.util.List;

/**
 * @author Administrator
 *
 */
public class Generatecjj {
	
	public static void main(String[] args) {
		List<String> list =new ArrayList<String>();
		list.add("In1_BATT_Positive                      ");
		list.add("In1_BATT_Negative                      ");
		list.add("In1_APP_NO1                            ");
		list.add("In1_Brake                              ");
		list.add("In1_Gear                               ");
		list.add("In1_LOCK                               ");
		list.add("In1_ACC                                ");
		list.add("In1_ON                                 ");
		list.add("In1_START                              ");
		list.add("In1_M_Off                              ");
		list.add("In1_M_AC_Vlt                           ");
		list.add("In1_M_DC_Vlt                           ");
		list.add("In1_M_DC_mVolt                         ");
		list.add("In1_M_Pass2Ohm                         ");
		list.add("In1_M_hFE                              ");
		list.add("In1_M_Amp                              ");
		list.add("In1_M_mAmp                             ");
		list.add("In1_M_mirAmp                           ");
		list.add("In1_M_Hold                             ");
		list.add("In1_M_Vlt_RP                           ");
		list.add("In1_M_Amp_Mea                          ");
		list.add("In1_M_mirA_mA                          ");
		list.add("In1_M_COM                              ");
		list.add("In1_M_Power                            ");
		list.add("In1_Multi_Red                          ");
		list.add("In1_Multi_Black                        ");
		list.add("In1_OBD_Clear_Code                     ");
		list.add("In1_OBD_Reserve2                       ");
		list.add("In1_OBD_Reserve3                       ");
		list.add("In1_OBD_Reserve4                       ");
		list.add("In1_OBD_Reserve5                       ");
		list.add("In1_OBD_Reserve6                       ");
		list.add("In1_OBD_Reserve7                       ");
		list.add("In1_OBD_Reserve8                       ");
		list.add("In1_OBD_Reserve9                       ");
		list.add("In1_OBD_Reserve10                      ");
		list.add("In1_MAIN_Fuse_Install                  ");
		list.add("In1_MAIN_Fuse_Body_Open                ");
		list.add("In1_MR_OK                              ");
		list.add("In1_EMREL_Open                         ");
		list.add("In1_EMREL_VirAcc                       ");
		list.add("In1_EMREL_S2BATT                       ");
		list.add("In1_EMREL_S2GND                        ");
		list.add("In1_MFUSE_Open                         ");
		list.add("In1_MFUSE_VirAcc                       ");
		list.add("In1_MFUSE_S2BATT                       ");
		list.add("In1_MFUSE_S2GND                        ");
		list.add("In1_2GND_Open                          ");
		list.add("In1_2GND_VirAcc                        ");
		list.add("In1_2GND_S2BATT                        ");
		list.add("In1_2GND_S2GND                         ");
		list.add("In1_2EFUSE_Open                        ");
		list.add("In1_2EFUSE_VirAcc                      ");
		list.add("In1_2EFUSE_S2BATT                      ");
		list.add("In1_2EFUSE_S2GND                       ");
		list.add("In1_MR_Install_Status                  ");
		list.add("In1_EMREL_OK                           ");
		list.add("In1_NO1_2MAF_Open                      ");
		list.add("In1_NO1_2MAF_VirAcc                    ");
		list.add("In1_NO1_2MAF_S2BATT                    ");
		list.add("In1_NO1_2MAF_S2GND                     ");
		list.add("In1_NO1_FMR_Open                       ");
		list.add("In1_NO1_FMR_VirAcc                     ");
		list.add("In1_NO1_FMR_S2BATT                     ");
		list.add("In1_NO1_FMR_S2GND                      ");
		list.add("In1_NO2_2PVSV_Open                     ");
		list.add("In1_NO2_2PVSV_VirAcc                   ");
		list.add("In1_NO2_2PVSV_S2BATT                   ");
		list.add("In1_NO2_2PVSV_S2GND                    ");
		list.add("In1_NO2_FMR_Open                       ");
		list.add("In1_NO2_FMR_VirAcc                     ");
		list.add("In1_NO2_FMR_S2BATT                     ");
		list.add("In1_NO2_FMR_S2GND                      ");
		list.add("In1_EFI_NO1                            ");
		list.add("In1_EFI_NO2                            ");
		list.add("In1_EFINO1_FUSE_Install                ");
		list.add("In1_EFINO2_FUSE_Install                ");
		list.add("In1_MAF_Body                           ");
		list.add("In1_MAF_B_Open                         ");
		list.add("In1_MAF_B_VirAcc                       ");
		list.add("In1_MAF_B_S2BATT                       ");
		list.add("In1_MAF_B_S2GND                        ");
		list.add("In1_MAF_VG_Open                        ");
		list.add("In1_MAF_VG_VirAcc                      ");
		list.add("In1_MAF_VG_S2BATT                      ");
		list.add("In1_MAF_VG_S2GND                       ");
		list.add("In1_MAF_E2G_Open                       ");
		list.add("In1_MAF_E2G_VirAcc                     ");
		list.add("In1_MAF_E2G_S2BATT                     ");
		list.add("In1_MAF_E2G_S2GND                      ");
		list.add("In1_MAF_THA_Open                       ");
		list.add("In1_MAF_THA_VirAcc                     ");
		list.add("In1_MAF_THA_S2BATT                     ");
		list.add("In1_MAF_THA_S2GND                      ");
		list.add("In1_MAF_E2_Open                        ");
		list.add("In1_MAF_E2_VirAcc                      ");
		list.add("In1_MAF_E2_S2BATT                      ");
		list.add("In1_MAF_E2_S2GND                       ");
		list.add("In1_MAF_Conn_Install                   ");
		list.add("In1_PVSV_2ECM_Open                     ");
		list.add("In1_PVSV_2ECM_VirAcc                   ");
		list.add("In1_PVSV_2ECM_S2BATT                   ");
		list.add("In1_PVSV_2ECM_S2GND                    ");
		list.add("In1_PVSV_2B_Open                       ");
		list.add("In1_PVSV_2B_VirAcc                     ");
		list.add("In1_PVSV_2B_S2BATT                     ");
		list.add("In1_PVSV_2B_S2GND                      ");
		list.add("In1_EValve_Body                        ");
		list.add("In1_EValve_Status                      ");
		list.add("In1_EValve_Conn_Install                ");
		list.add("In1_A1A_PO_Open                        ");
		list.add("In1_A1A_PO_VirAcc                      ");
		list.add("In1_A1A_PO_S2BATT                      ");
		list.add("In1_A1A_PO_S2GND                       ");
		list.add("In1_A1A_NE_Open                        ");
		list.add("In1_A1A_NE_VirAcc                      ");
		list.add("In1_A1A_NE_S2BATT                      ");
		list.add("In1_A1A_NE_S2GND                       ");
		list.add("In1_HA1A_Open                          ");
		list.add("In1_HA1A_VirAcc                        ");
		list.add("In1_HA1A_S2BATT                        ");
		list.add("In1_HA1A_S2GND                         ");
		list.add("In1_AF_2B_Open                         ");
		list.add("In1_AF_2B_VirAcc                       ");
		list.add("In1_AF_2B_S2BATT                       ");
		list.add("In1_AF_2B_S2GND                        ");
		list.add("In1_AF_Sensor_Body                     ");
		list.add("In1_AF_Sensor_Install                  ");
		list.add("In1_VPA_VirAcc                         ");
		list.add("In1_VPA_OCir                           ");
		list.add("In1_VPA_S2EPA                          ");
		list.add("In1_VPA_S2EPA2                         ");
		list.add("In1_VPA_S2VCPA                         ");
		list.add("In1_VPA_S2VCP2                         ");
		list.add("In1_VPA2_VirAcc                        ");
		list.add("In1_VPA2_OCir                          ");
		list.add("In1_VPA2_S2EPA2                        ");
		list.add("In1_VPA2_S2EPA                         ");
		list.add("In1_VPA2_S2VCPA                        ");
		list.add("In1_VPA2_S2VCP2                        ");
		list.add("In1_VCPA_VirAcc                        ");
		list.add("In1_VCPA_OCir                          ");
		list.add("In1_VCPA_S2EPA                         ");
		list.add("In1_VCPA_S2EPA2                        ");
		list.add("In1_VCPA_S2VCP2                        ");
		list.add("In1_VCP2_VirAcc                        ");
		list.add("In1_VCP2_OCir                          ");
		list.add("In1_VCP2_S2EPA                         ");
		list.add("In1_VCP2_S2EPA2                        ");
		list.add("In1_EPA_VirAcc                         ");
		list.add("In1_EPA_OCir                           ");
		list.add("In1_EPA_S2EPA2                         ");
		list.add("In1_EPA2_VirAcc                        ");
		list.add("In1_EPA2_OCir                          ");
		list.add("In1_APP_Body                           ");
		list.add("In1_APP_Conn_Install                   ");
		list.add("In1_VTA1_VirAcc                        ");
		list.add("In1_VTA1_Open                          ");
		list.add("In1_VTA1_S2ETA                         ");
		list.add("In1_VTA1_S2GND                         ");
		list.add("In1_VTA1_S2VTA2                        ");
		list.add("In1_VTA1_S2BATT                        ");
		list.add("In1_VTA1_S2VCTA                        ");
		list.add("In1_VTA2_VirAcc                        ");
		list.add("In1_VTA2_Open                          ");
		list.add("In1_VTA2_S2ETA                         ");
		list.add("In1_VTA2_S2GND                         ");
		list.add("In1_VTA2_S2BATT                        ");
		list.add("In1_VTA2_S2VCTA                        ");
		list.add("In1_VCTA_VirAcc                        ");
		list.add("In1_VCTA_Open                          ");
		list.add("In1_VCTA_S2ETA                         ");
		list.add("In1_VCTA_S2GND                         ");
		list.add("In1_ETA_VirAcc                         ");
		list.add("In1_ETA_Open                           ");
		list.add("In1_ETA_S2GND                          ");
		list.add("In1_TPS_M_PO_Open                      ");
		list.add("In1_TPS_M_NE_Open                      ");
		list.add("In1_TPS_Body                           ");
		list.add("In1_TPS_ME01_Open                      ");
		list.add("In1_TPS_Conn_Install                   ");
		list.add("In1_Cool_Conn_Install                  ");
		list.add("In1_Cool_Conn_THW_Open                 ");
		list.add("In1_Cool_Conn_ETHW_Open                ");
		list.add("In1_Cool_Conn_THW_S2GND                ");
		list.add("In1_Cool_Sensor_Body                   ");
		list.add("In1_Intake_CAM_Conn_Install            ");
		list.add("In1_Exhaust_CAM_Conn_Install           ");
		list.add("In1_In_CAM_G2_PO_Open                  ");
		list.add("In1_In_CAM_G2_NE_Open                  ");
		list.add("In1_In_CAM_VCV1_Open                   ");
		list.add("In1_Ex_CAM_EV1_PO_Open                 ");
		list.add("In1_Ex_CAM_EV1_NE_Open                 ");
		list.add("In1_Ex_CAM_VC_Open                     ");
		list.add("In1_In_CAM_Body                        ");
		list.add("In1_Ex_CAM_Body                        ");
		list.add("In1_Injector_One_Install               ");
		list.add("In1_Injector_Two_Install               ");
		list.add("In1_Injector_Three_Install             ");
		list.add("In1_Injector_Four_Install              ");
		list.add("In1_Injector_One_2ECM_Open             ");
		list.add("In1_Injector_One_2JC_Open              ");
		list.add("In1_Injector_Two_2ECM_Open             ");
		list.add("In1_Injector_Two_2JC_Open              ");
		list.add("In1_Injector_Three_2ECM_Open           ");
		list.add("In1_Injector_Three_2JC_Open            ");
		list.add("In1_Injector_Four_2ECM_Open            ");
		list.add("In1_Injector_Four_2JC_Open             ");
		list.add("In1_Injector_One_Body                  ");
		list.add("In1_Injector_Two_Body                  ");
		list.add("In1_Injector_Three_Body                ");
		list.add("In1_Injector_Four_Body                 ");
		list.add("In1_IC_Conn_One_Install                ");
		list.add("In1_IC_Conn_Two_Install                ");
		list.add("In1_IC_Conn_Three_Install              ");
		list.add("In1_IC_Conn_Four_Install               ");
		list.add("In1_Igniton_Coil_One_Body              ");
		list.add("In1_Igniton_Coil_Two_Body              ");
		list.add("In1_Igniton_Coil_Three_Body            ");
		list.add("In1_Igniton_Coil_Four_Body             ");
		list.add("In1_IC_Conn_One_B_Open                 ");
		list.add("In1_IC_Conn_One_GND_Open               ");
		list.add("In1_IC_Conn_One_IGT1_Open              ");
		list.add("In1_IC_Conn_One_IGF1_Open              ");
		list.add("In1_IC_Conn_Two_B_Open                 ");
		list.add("In1_IC_Conn_Two_GND_Open               ");
		list.add("In1_IC_Conn_Two_IGT2_Open              ");
		list.add("In1_IC_Conn_Two_IGF1_Open              ");
		list.add("In1_IC_Conn_Three_B_Open               ");
		list.add("In1_IC_Conn_Three_GND_Open             ");
		list.add("In1_IC_Conn_Three_IGT3_Open            ");
		list.add("In1_IC_Conn_Three_IGF1_Open            ");
		list.add("In1_IC_Conn_Four_B_Open                ");
		list.add("In1_IC_Conn_Four_GND_Open              ");
		list.add("In1_IC_Conn_Four_IGT4_Open             ");
		list.add("In1_IC_Conn_Four_IGF1_Open             ");
		list.add("In1_OP_Pipe_2PVSV_Install              ");
		list.add("In1_OP_Pipe_2Tank_Install              ");
		list.add("In1_OP_Pipe_2Rail_Install              ");
		list.add("In1_OP_Pipe_2Atmp_Install              ");
		list.add("In1_OP_Connetor_Install                ");
		list.add("In1_OP_FS_Open                         ");
		list.add("In1_OP_FE_Open                         ");
		list.add("In1_OP_Power_Open                      ");
		list.add("In1_OP_GND_Open                        ");
		list.add("In1_OP_Carbon_Body_Stauts              ");
		list.add("In1_OP_Pipe_2PVSV_PC                   ");
		list.add("In1_OP_Pipe_2Atmp_PC                   ");
		list.add("In1_EValve_2Intake_Pipe_Install        ");
		list.add("In1_EValve_2Carbon_Pipe_Install        ");
		list.add("In1_EValve_2Intake_Pipe_PC             ");
		list.add("In1_EValve_2Carbon_Pipe_PC             ");
		list.add("In1_Oil_Pump_Body_Fault                ");
		list.add("In1_IG2_Fuse_Install                   ");
		list.add("In1_IG2_Fuse_Body_Open                 ");
		list.add("In1_IG2_NO2_Fuse_Install               ");
		list.add("In1_IG2_NO2_Fuse_Body_Open             ");
		list.add("In1_1A_IG2_Relay_Install               ");
		list.add("In1_ST_Relay_Install                   ");
		list.add("In1_1A_Pin3_2IG2Fuse_Open              ");
		list.add("In1_1A_Pin2_2GND_Open                  ");
		list.add("In1_1A_Pin4_2Injec_Open                ");
		list.add("In1_ST_Relay_Body_Fault                ");
		list.add("In1_IG_Key_Install                     ");
		list.add("In1_IG_ST1_Open                        ");
		list.add("In1_IG_AM1_Open                        ");
		list.add("In1_IG_ACC_Open                        ");
		list.add("In1_IG_IG1_Open                        ");
		list.add("In1_IG_IG2_Open                        ");
		list.add("In1_IG_AM2_Open                        ");
		list.add("In1_IG_ST2_Open                        ");
		list.add("In1_ST_Conn_Install                    ");
		list.add("In1_ST_Conn_2BAT_Open                  ");
		list.add("In1_ST_Conn_2Relay_Open                ");
		list.add("In1_Starter_Body                       ");
		list.add("In1_PN_Conn_Install                    ");
		list.add("In1_PN_Body                            ");
		list.add("In1_PN_Conn_2JC_Open                   ");
		list.add("In1_PN_Conn_2STRelay_Open              ");
		list.add("In1_Crank_Conn_Install                 ");
		list.add("In1_Crank_Conn_2NNE_Open               ");
		list.add("In1_Crank_Conn_2PNE_Open               ");
		list.add("In1_Crank_Sensor_Body                  ");
		list.add("In1_Knock_Conn_Install                 ");
		list.add("In1_Knock_Conn_2EKNK_Open              ");
		list.add("In1_Knock_Conn_2KNK1_Open              ");
		list.add("In1_Knock_Sensor_Body                  ");
		list.add("In1_O2_Conn_Install                    ");
		list.add("In1_Oxgen_Body                         ");
		list.add("In1_O2_Conn_HT1B_Open                  ");
		list.add("In1_O2_Conn_B_Open                     ");
		list.add("In1_O2_Conn_OX1B_Open                  ");
		list.add("In1_O2_Conn_E2_Open                    ");
		list.add("In1_ICAM_Valve_Conn_Install            ");
		list.add("In1_ECAM_Valve_Conn_Install            ");
		list.add("In1_ICAM_Valve_Body                    ");
		list.add("In1_ECAM_Valve_Body                    ");
		list.add("In1_ICAM_Valve_Conn_2POC_Open          ");
		list.add("In1_ICAM_Valve_Conn_2NOC_Open          ");
		list.add("In1_ECAM_Valve_Conn_2POE_Open          ");
		list.add("In1_ECAM_Valve_Conn_2NOE_Open          ");
		list.add("In1_ECM_A_Install                      ");
		list.add("In1_ECM_B_Install                      ");
		list.add("In1_A50_BAT_Pin20_Open                 ");
		list.add("In1_A50_B_Pin2_Open                    ");
		list.add("In1_A50_B2_Pin1_Open                   ");
		list.add("In1_A50_BM_Pin3_Open                   ");
		list.add("In1_A50_STA_Pin48_Open                 ");
		list.add("In1_A50_FC_Pin7_Open                   ");
		list.add("In1_A50_IGSW_Pin28_Open                ");
		list.add("In1_A50_RFC_Pin43_Open                 ");
		list.add("In1_B31_KNK1_Pin110_Open               ");
		list.add("In1_B31_EKNK_Pin111_Open               ");
		list.add("In1_2A_Conn_Install                    ");
		list.add("In1_2B_Conn_Install                    ");
		list.add("In1_2B_Conn_Pin9_Open                  ");
		list.add("In1_2B_Conn_Pin10_Open                 ");
		list.add("In1_2B_Conn_Pin11_Open                 ");
		list.add("In1_2A_Conn_Pin8_Open                  ");
		list.add("In1_B31_IGF1_Pin81_Open                ");
		list.add("In1_B31_GND_Pin104_Open                ");
		list.add("In1_Intake_Manifold_Leakage            ");
		list.add("In1_Supply_Oil_Line                    ");
		list.add("In1_Engine_LED_Safe_Belt               ");
		for (int i = 0; i < list.size(); i++) {
			System.out.println();
			String ss=list.get(i).trim();
			System.out.println(""+ss+"_Value=boost::lexical_cast<double>(root[\""+ss+"\"].asString());");
			System.out.println("ocout<<\""+ss+"_Value:\"<<"+ss+"_Value<<endl;");
			//ocout<<"In1_Brake_Value :"<<In1_Brake_Value<<endl;
		   //In1_M_COM_Value=boost::lexical_cast<double>(root["In1_M_COM"].asString());
			
		}
		
	}

}
